package org.agent.aigccore.dao;

import org.agent.aigccore.basic.enums.GeneralConfigStatusEnum;
import org.agent.aigccore.model.bo.GeneralConfigBO;

import java.util.List;

public interface GeneralConfigRepository {

    GeneralConfigBO load(Long id, boolean lock);

    GeneralConfigBO loadUK(String domain, String scene, String ckey);

    List<GeneralConfigBO> page(GeneralConfigStatusEnum status, String domain, String scene, int offset, int pageSize);

    int insert(GeneralConfigBO generalConfigBO);

    int update(GeneralConfigBO generalConfigBO);

    int delete(Long id);
}